<?php
class PublishListener extends Doctrine_Record_Listener{

 	
		public function preInsert(Doctrine_Event $event)
	    {
	        //$event->getInvoker()->created = date('Y-m-d', time());
	        //$event->getInvoker()->updated = date('Y-m-d', time());
	    }

	    public function preUpdate(Doctrine_Event $event)
	    {
	        //$event->getInvoker()->updated = date('Y-m-d', time());
	    }
}